
using AutoMapper;
using Yozeev.SystemConfig;
using Yozeev.SystemConfig.Dtos;

namespace Yozeev.SystemConfig.Mapper
{

	/// <summary>
    /// 配置Power的AutoMapper
    /// </summary>
	internal static class PowerMapper
    {
        public static void CreateMappings(IMapperConfigurationExpression configuration)
        {
            configuration.CreateMap <Power,PowerListDto>();
            configuration.CreateMap <PowerListDto,Power>();

            configuration.CreateMap <PowerEditDto,Power>();
            configuration.CreateMap <Power,PowerEditDto>();

        }
	}
}
